<?php
	header("content-type:text/html;charset=utf-8");
	//print_r($_SERVER);
	/*$url='http://'.$_SERVER['SERVER_NAME'].$_SERVER["REQUEST_URI"]; 
	$content = dirname($url).'/'.'password2.php?u='.md5('aaa').'&e='.md5('bbb').'&p='.md5('ccc').'&t='.time();
	$content = '找回密码:<br /><a href="'.$content.'">'.$content.'</a><br />如上面链接无法点击,请复制到浏览器打开';
	*/
	//$key = 'a';
	//$arr = array($key=>'aaa');	
	//print_r($arr);
	
	$url='http://'.$_SERVER['SERVER_NAME'].$_SERVER["REQUEST_URI"]; 
	$content = dirname($url);
	echo $content;
	$content = substr($content,0,strripos(dirname($url), '/'));
	echo $content;
?>
